/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package text_classification;

/**
 *
 * @author robertgunawan
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        naive_bayes nb = new naive_bayes("data/train_Negatif.txt",
                "data/train_Netral.txt",
                "data/train_Positif.txt",
                true);
        nb.doClassification("data/test_Negatif.txt", "data/test_Netral.txt", "data/test_Positif.txt");
        nb.doPrintConfusionMatrix();
        nb.doPrintAkurasi();
    }

}
